projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
750121c
)
board: rpi_b: include mmc header and fix prototype
author
Jeroen Hofstee
<
[email protected]
>
Sun, 13 Jul 2014 20:01:51 +0000
(22:01 +0200)
committer
Tom Rini
<
[email protected]
>
Fri, 18 Jul 2014 21:53:24 +0000
(17:53 -0400)
While at it add fdt_support.h as well.
cc: Stephen Warren <
[email protected]
>
Signed-off-by: Jeroen Hofstee <
[email protected]
>
board/raspberrypi/rpi_b/rpi_b.c
patch
|
blob
|
history
diff --git
a/board/raspberrypi/rpi_b/rpi_b.c
b/board/raspberrypi/rpi_b/rpi_b.c
index f33fae91700cadf344905ae0f31198ee38be6c53..220bb90dc1ae025ddf37e8fe9636201843c00650 100644
(file)
--- a/
board/raspberrypi/rpi_b/rpi_b.c
+++ b/
board/raspberrypi/rpi_b/rpi_b.c
@@
-16,7
+16,9
@@
#include <common.h>
#include <config.h>
+#include <fdt_support.h>
#include <lcd.h>
+#include <mmc.h>
#include <asm/arch/mbox.h>
#include <asm/arch/sdhci.h>
#include <asm/global_data.h>
@@
-91,7
+93,7
@@
int board_init(void)
return power_on_module(BCM2835_MBOX_POWER_DEVID_USB_HCD);
}
-int board_mmc_init(
void
)
+int board_mmc_init(
bd_t *bis
)
{
ALLOC_ALIGN_BUFFER(struct msg_get_clock_rate, msg_clk, 1, 16);
int ret;